home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_225
/
amigatcp
/
src
/
cmdparse.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
401b
|
13 lines
#define NARG 10 /* Max number of args to commands */
struct cmds {
char *name; /* Name of command */
int (*func)(); /* Function to execute command */
int argcmin; /* Minimum number of args */
char *argc_errmsg; /* Message to print if insufficient args */
char *exec_errmsg; /* Message to print if function fails */
};
#ifndef NULLCHAR
#define NULLCHAR (char *)0
#endif